<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Access-Control-Allow-Origin" content="*" />

    <title></title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../../css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="../../css/style.css?v=4.1.0" rel="stylesheet">
    <link href="../../css/view/global.css" rel="stylesheet">
    <!--<link href="../../css/view/template.css" rel="stylesheet">-->
    <link rel="stylesheet" href="../../css/view/community/community-service.css">
    <style>
        .g_select{
            height:30px;
            width: 200px;
            padding:0 5px;
        }
    </style>
</head>

<body class="white-bg">
<div class="container-box"><div class="page-title">
    <div class="blue-bg-circle themeBgColor"></div>
    <div class="title">社区服务</div>
</div>

    <div class="banner-manager">
        <div class="second-title">
            <div class="border-left themeBgColor"></div>
            <div class="text">Banner轮播图管理</div>
        </div>
        <div class="banner-box" id="banner-box">
           <!--轮播图显示区域-->
        </div>
    </div>

    <!--选项卡切换-->
    <div id="nav-box">
        <ul id="nav-list">
            <li class="nav-item active">家政服务</li>
            <li class="nav-item ">社区商城</li>
            <li class="nav-item ">二手市场</li>
            <li class="nav-item ">健康服务</li>
            <li class="nav-item ">特膳厨房</li>
            <li class="nav-item ">热门内容</li>
            <li class="nav-item ">线上药店</li>
        </ul>
    </div>
    <!--家政服务-->
    <div class="item-box" style="display: block;">
        <div class="item-banner-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">轮播图管理</div>
            </div>
            <div class="banner-box" id="banner-item-box">
                <!--轮播图显示区域-->
            </div>
        </div>
        <div class="item-class-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">分类</div>
            </div>
            <div class="class-box" id="homemakingClass">
                <!--分类-->
            </div>
        </div>
        <div class="item-business-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">商家</div>
            </div>
            <div class="add-business themeColor" data-toggle="modal" data-target="#BusinessModal" data-type="1">
                添加商户
            </div>
            <div class="line"></div>
            <div class="business-list">
                <div class="four-title">商家列表</div>
            </div>
            <div class="screen">
                <!--<div class="time-screen">-->
                    <!--<label class="time-text">日期筛选：</label>-->
                    <!--<div class="time-box">-->
                        <!--<input placeholder="开始日期" class="layer-date" id="start">-->
                        <!--<input placeholder="结束日期" class="layer-date" id="end">-->
                    <!--</div>-->
                <!--</div>-->
                <div class="class-screen">
                    <label for="homemaking-class-sel">服务类别：</label>
                    <select class="form-control class-items"  id="homemaking-class-sel">
                        <!--类别-->
                    </select>
                </div>
                <div class="search">
                    <div id="homemaking-search" class="search-btn">搜索</div>
                    <input type="text" class="search-box" placeholder="输入商家名称搜索">
                </div>
            </div>
            <div class="table-box">
                <table class="table table-striped">
                    <thead class="themeBgColor">
                        <tr>
                            <th>商家图片</th>
                            <th>商家名称</th>
                            <th>服务类别</th>
                            <th>商家电话</th>
                            <th>商家地址</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody id="homemaking-business">

                    </tbody>
                </table>
                <div id="page" class="page_div"></div>
            </div>
        </div>
    </div>
    <!--社区商城-->
    <div class="item-box" style="display:none">
        <div class="item-banner-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">轮播图管理</div>
            </div>
            <div class="banner-box" id="banner-shop-box">
                <!--轮播图显示区域-->
            </div>
        </div>
        <div class="item-business-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">商家</div>
            </div>
            <div class="add-business themeColor" data-toggle="modal" data-target="#shopBusinessModal" data-type="1">
                添加商户
            </div>
            <div class="line"></div>
            <div class="business-list">
                <div class="four-title">商家列表</div>
            </div>
            <div class="screen">
                <!--<div class="time-screen">-->
                <!--<label class="time-text">日期筛选：</label>-->
                <!--<div class="time-box">-->
                <!--<input placeholder="开始日期" class="layer-date" id="start">-->
                <!--<input placeholder="结束日期" class="layer-date" id="end">-->
                <!--</div>-->
                <!--</div>-->
                <div class="class-screen">
                    <label for="homemaking-class-sel">服务类别：</label>
                    <select class="form-control class-items"  id="shop-class-sel">
                        <!--类别-->
                    </select>
                </div>
                <div class="search">
                    <div>搜索</div>
                    <input type="text" class="search-box">
                </div>
            </div>
            <div class="table-box">
                <table class="table table-striped">
                    <thead class="themeBgColor">
                    <tr>
                        <th>商家图片</th>
                        <th>商家名称</th>
                        <th>商家营业时间</th>
                        <th>商家订单</th>
                        <th>商家地址</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="community-shop-list">

                    </tbody>
                </table>
                <div id="community-shop-page" class="page_div"></div>
            </div>
        </div>
    </div>
    <!--二手市场-->
    <div class="item-box" style="display: none;">
        <div class="item-class-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">分类</div>
            </div>
            <div class="class-box" id="secondHandClass">
                <!--分类-->
            </div>
        </div>
        <div class="item-business-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">商品列表</div>
            </div>
            <!--<div class="add-business themeColor" data-toggle="modal" data-target="#BusinessModal" data-type="1">-->
                <!--添加商户-->
            <!--</div>-->
            <!--<div class="line"></div>-->
            <!--<div class="business-list">-->
                <!--<div class="four-title">商品列表</div>-->
            <!--</div>-->
            <div class="screen">
                <!--<div class="time-screen">-->
                <!--<label class="time-text">日期筛选：</label>-->
                <!--<div class="time-box">-->
                <!--<input placeholder="开始日期" class="layer-date" id="start">-->
                <!--<input placeholder="结束日期" class="layer-date" id="end">-->
                <!--</div>-->
                <!--</div>-->
                <div class="class-screen">
                <label for="homemaking-class-sel">商品列表：</label>
                    <select class="form-control class-items"  id="secondHand-list-sel">
                        <!--类别-->
                        <option value="1">在线商品</option>
                        <option value="0">待审核商品</option>
                        <option value="2">拒绝商品</option>
                    </select>
                </div>
                <div class="class-screen">
                    <label for="homemaking-class-sel">商品类别：</label>
                    <select class="form-control class-items"  id="secondHand-class-sel">
                        <!--类别-->
                    </select>
                </div>
                <div class="search">
                    <div id="secondHand-search" class="search-btn">搜索</div>
                    <input type="text" class="search-box" placeholder="输入商家名称搜索" id="secondHandKeyword">
                </div>
            </div>
            <div class="table-box">
                <table class="table table-striped">
                    <thead class="themeBgColor">
                    <tr>
                        <th>商品图片</th>
                        <th>商家名称</th>
                        <th>商品类别</th>
                        <th>商品价格</th>
                        <th>卖家电话</th>
                        <!--<th>卖家地址</th>-->
                        <!--<th>买家姓名</th>-->
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="secondHand-product">

                    </tbody>
                </table>
                <div id="secondHand-page" class="page_div"></div>
            </div>
        </div>
    </div>
    <!--健康服务-->
    <div class="item-box" style="display: none;">
        <div class="item-banner-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">轮播图管理</div>
            </div>
            <div class="banner-box" id="health-banner-item-box">
                <!--轮播图显示区域-->
            </div>
        </div>
        <div class="item-class-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">分类</div>
            </div>
            <div class="class-box" id="healthClass">
                <!--分类-->
            </div>
        </div>
        <div class="item-business-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">商家</div>
            </div>
            <div class="add-business themeColor" data-toggle="modal" data-target="#healthBusinessModal" data-type="1">
                添加商户
            </div>
            <div class="line"></div>
            <div class="business-list">
                <div class="four-title">商家列表</div>
            </div>
            <div class="screen">
                <!--<div class="time-screen">-->
                <!--<label class="time-text">日期筛选：</label>-->
                <!--<div class="time-box">-->
                <!--<input placeholder="开始日期" class="layer-date" id="start">-->
                <!--<input placeholder="结束日期" class="layer-date" id="end">-->
                <!--</div>-->
                <!--</div>-->
                <div class="class-screen">
                    <label for="homemaking-class-sel">服务类别：</label>
                    <select class="form-control class-items"  id="health-class-sel">
                        <!--类别-->
                    </select>
                </div>
                <div class="search">
                    <div id="health-search" class="search-btn">搜索</div>
                    <input type="text" class="search-box" placeholder="输入商家名称搜索" id="health-search-input">
                </div>
            </div>
            <div class="table-box">
                <table class="table table-striped">
                    <thead class="themeBgColor">
                    <tr>
                        <th>商家图片</th>
                        <th>商家名称</th>
                        <th>服务类别</th>
                        <th>商家电话</th>
                        <th>商家地址</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="health-service-business">

                    </tbody>
                </table>
                <div id="health-page" class="page_div"></div>
            </div>
        </div>
    </div>
    <!--特膳-->
    <div class="item-box" style="display: none;">
        <div class="item-business-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">特膳厨房</div>
            </div>
            <div class="add-business themeColor" data-toggle="modal" data-target="#kitchenModal" data-type="1" id="addKitchen">
                添加厨房主体
            </div>
            <!--<div class="line"></div>-->
            <div class="business-list">
                <div class="four-title">厨房主体</div>
            </div>
            <div class="table-box">
                <table class="table table-striped">
                    <thead class="themeBgColor">
                    <tr>
                        <!--<th>商家图片</th>-->
                        <th>厨房名称</th>
                        <th>厨房账号</th>
                        <!--<th>商家电话</th>-->
                        <!--<th>商家地址</th>-->
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="kitchenList">

                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <!--预售超市-->
    <div class="item-box" style="display: none;">
        <div class="item-business-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">热门内容</div>
            </div>
            <div class="add-business themeColor" data-toggle="modal" data-target="#advanceSaleModal" data-type="1">
                添加内容
            </div>
            <div class="line"></div>
            <div class="business-list">
                <div class="four-title">内容列表</div>
            </div>

            <div class="table-box">
                <table class="table table-striped">
                    <thead class="themeBgColor">
                    <tr>
                        <th>ID</th>
                        <th>内容广告图</th>
                        <th>内容详情图</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="advance-sale-list">

                    </tbody>
                </table>
                <div id="advance-sale-page" class="page_div"></div>
            </div>
        </div>
    </div>
    <!--线上药店-->
    <div class="item-box" style="display: none;">
        <div class="item-business-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">商家</div>
            </div>
            <div class="add-business themeColor" data-toggle="modal" data-target="#onlinePharmacyModal" data-type="1">
                添加商户
            </div>
            <div class="line"></div>
            <div class="business-list">
                <div class="four-title">商家列表</div>
            </div>
            <div class="screen">
                <!--<div class="time-screen">-->
                <!--<label class="time-text">日期筛选：</label>-->
                <!--<div class="time-box">-->
                <!--<input placeholder="开始日期" class="layer-date" id="start">-->
                <!--<input placeholder="结束日期" class="layer-date" id="end">-->
                <!--</div>-->
                <!--</div>-->
                <div class="class-screen">
                    <!--<label for="homemaking-class-sel">服务类别：</label>-->
                    <!--<select class="form-control class-items"  id="online-pharmacy">-->
                        <!--类别-->
                    <!--</select>-->
                </div>
                <div class="search">
                    <div id="pharmacy-search-btn">搜索</div>
                    <input type="text" class="search-box" placeholder="请输入药店名称" id="pharmacy-search-content">
                </div>
            </div>
            <div class="table-box">
                <table class="table table-striped">
                    <thead class="themeBgColor">
                    <tr>
                        <th>药店图片</th>
                        <th>药店名称</th>
                        <th>药店电话</th>
                        <th>药店地址</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="pharmacy-list">

                    </tbody>
                </table>
                <div  class="page_div" id="pharmacy-page"></div>
            </div>
        </div>
    </div>
</div>













<!-- Modal Add mainBanner -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">添加</h4>
            </div>
            <div class="modal-body">
                <div class="add-banner-btn">
                    <input type="file" accept="image/*" class="file-input" id="fileInput">
                    <input type="hidden" id="imgUrl">
                    <input type="hidden" id="bannerId">
                    <div class="select-img themeBgColor">选择图片</div>
                </div>
                <div class="themeColor">(图片尺寸建议690px * 260px)</div>
                <div class="preview-img" id="fileImage">
                    <div>图片预览</div>
                </div>
                <div class="selectAre">
                    <label for="banner_status">跳转链接：</label>
                    <select class="g_select themeBorder" id="banner_status">
                        <!--类别-->
                        <option value="-1">请选择</option>
                        <option value="1">家政服务</option>
                        <option value="2">社区商城</option>
                        <option value="3">健康服务</option>
                        <option value="4">特膳厨房</option>
                        <option value="5">二手商城</option>
                    </select>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadBannerImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- Modal Add homemakingBanner-->
<div class="modal fade" id="homemakingBannerModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="homingmakingModalLabel">添加</h4>
            </div>
            <div class="modal-body">
                <div class="add-banner-btn">
                    <input type="file" accept="image/*" class="file-input" id="homemakingInput">
                    <input type="hidden" id="homemakingImgUrl">
                    <input type="hidden" id="homemakingBannerId">
                    <div class="select-img themeBgColor">选择图片</div>
                </div>
                <div class="themeColor">(图片尺寸建议640px * 170px)</div>

                <div class="preview-img" id="homemakingImage">
                    <div>图片预览</div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadHomemakingBannerImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- Modal Add communityShop Banner -->
<div class="modal fade" id="shopBannerModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="shopModalLabel">添加</h4>
            </div>
            <div class="modal-body">
                <div class="add-banner-btn">
                    <input type="file" accept="image/*" class="file-input" id="shopInput">
                    <input type="hidden" id="shopImgUrl">
                    <input type="hidden" id="shopBannerId">
                    <div class="select-img themeBgColor">选择图片</div>
                </div>
                <div class="themeColor">(图片尺寸建议640px * 170px)</div>

                <div class="preview-img" id="shopImage">
                    <div>图片预览</div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadShopBannerImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- Modal Add Class-->
<div class="modal fade" id="classModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="classModalLabel">添加新类别</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label for="className">类别名称：</label>
                    <input type="text" class="form-control" id="className" placeholder="请输入类别名称">
                </div>
                <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" id="classInput">
                    <input type="hidden" id="classImgUrl">
                    <input type="hidden" id="classItemId">
                    <div class="select-img themeBgColor">选择图标</div>
                </div>
                <div class="preview-class-img" id="classImage">
                    <div>图片预览</div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadClassImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- Modal Add Business-->
<div class="modal fade" id="BusinessModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="businessModalLabel">添加新商户</h4>
            </div>
            <div class="modal-body" style="height:500px;overflow-y:scroll;">
                <div class="form-group">
                    <label for="className">商家名称：</label>
                    <input type="text" class="form-control"  placeholder="请输入商家名称" id="shopName">
                </div>
                <div class="form-group">
                    <label for="className">商家地址：</label>
                    <input type="text" class="form-control"  placeholder="请输入商家地址" id="shopAddress">
                    <input type="hidden" id="shop-address-lat">
                    <input type="hidden" id="shop-address-lng">
                </div>
                <div class="address-list">

                </div>
                <div class="form-group">
                    <label for="className">商家电话：</label>
                    <input type="number" class="form-control"  placeholder="请输入商家电话" id="shopPhone">
                </div>
                <div>
                    <label >选择分类：</label>
                    <div class="add-class-box" id="add-shop-class-box">
                        <!--<div class="checkbox">-->
                            <!--<label>-->
                                <!--<input type="checkbox"> Check me out-->
                            <!--</label>-->
                        <!--</div>-->

                    </div>
                </div>
                <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" id="shop-img-select">
                    <input type="hidden" id="shop-img-url">
                    <div class="select-img themeBgColor">选择商家缩略图</div>
                </div>
                <div class="preview-class-img" id="shop-img-show">
                    <div>图片预览</div>
                </div>
                <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" multiple="multiple" id="content-img-select">
                    <input type="hidden" id="upType">
                    <input type="hidden" id="businessId">
                    <div class="select-img themeBgColor">选择商家展示图集</div>
                    <div class="btn themeBgColor upload-content-img" id="upload-content-img">
                        图片上传
                    </div>
                </div>
                <div class="preview-content-img" id="content-img-show">
                    <!--<div class="yulan-desc">图片预览</div>-->
                    <div class="old"></div>
                    <div class="new"></div>
                </div>

                <div class="form-group" style="margin-top: 20px">
                    <label for="className">商家描述：</label>
                    <textarea  class="form-control textarea-style"  placeholder="请输入商家介绍与描述" id="shopDesc"></textarea>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="addShop" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- Modal Add Shop Business-->
<div class="modal fade" id="shopBusinessModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="shopbusinessModalLabel">添加新商户</h4>
            </div>
            <div class="modal-body" >
                <div class="form-group">
                    <label for="businessName">商家名称：</label>
                    <input type="text" class="form-control"  placeholder="请输入商家名称" id="businessName">
                </div>

                <div class="form-group">
                    <label for="businessNum">商家账户：</label>
                    <input type="text" class="form-control"  placeholder="设置商家账户号码" id="businessNum">
                </div>
                <div class="form-group">
                    <label for="businessPwd">商家密码：</label>
                    <input type="text" class="form-control"  placeholder="设置商家登录密码" id="businessPwd">
                </div>
                <div class="form-group">
                    <label for="businessPhone">商家电话：</label>
                    <input type="number" class="form-control"  placeholder="设置商家联系电话" id="businessPhone">
                </div>
                <div class="form-group">
                    <label for="businessPhone">市代返利(%)：</label>
                    <input type="number" class="form-control"  placeholder="设置市级代理返利" id="cityRebate">
                </div>
                <div class="form-group">
                    <label for="businessPhone">区代返利(%)：</label>
                    <input type="number" class="form-control"  placeholder="设置区级代理返利" id="areaRebate">
                </div>
                <div class="form-group">
                    <label for="businessPhone">集团返利(%)：</label>
                    <input type="number" class="form-control"  placeholder="设置集团代理返利" id="groupRebate">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="addShopBusiness">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- Modal online pharmacy -->
<div class="modal fade" id="onlinePharmacyModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="pharmacyModalLabel">添加新药店</h4>
            </div>
            <div class="modal-body" style="height:500px;overflow-y:scroll;">
                <div class="form-group">
                    <label for="className">药店名称：</label>
                    <input type="text" class="form-control"  placeholder="请输入药店名称" id="pharmacyName">
                </div>
                <div class="form-group">
                    <label for="className">药店地址：</label>
                    <input type="text" class="form-control"  placeholder="请输入药店地址" id="pharmacyAddress">
                    <input type="hidden" id="pharmacy-address-lat">
                    <input type="hidden" id="pharmacy-address-lng">
                </div>
                <div class="address-list">

                </div>
                <div class="form-group">
                    <label for="className">药店电话：</label>
                    <input type="number" class="form-control"  placeholder="请输入药店电话" id="pharmacyPhone">
                </div>
                <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" id="pharmacy-img-select">
                    <input type="hidden" id="pharmacy-img-url">
                    <div class="select-img themeBgColor">选择药店缩略图</div>
                </div>
                <div class="preview-class-img" id="pharmacy-img-show">
                    <div>图片预览</div>
                </div>
                <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" multiple="multiple" id="pharmacy-content-img-select">
                    <input type="hidden" id="pharmacy-upType">
                    <input type="hidden" id="pharmacyId">
                    <div class="select-img themeBgColor">选择药店展示图集</div>
                    <div class="btn themeBgColor upload-content-img" id="pharmacy-upload-content-img">
                        图片上传
                    </div>
                </div>
                <div class="preview-content-img" id="pharmacy-content-img-show">
                    <!--<div class="yulan-desc">图片预览</div>-->
                    <div class="old"></div>
                    <div class="new"></div>
                </div>

                <div class="form-group" style="margin-top: 20px">
                    <label for="className">药店描述：</label>
                    <textarea  class="form-control textarea-style"  placeholder="请输入药店介绍与描述" id="pharmacyDesc"></textarea>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="addPharmacy" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- advance sale add modal-->
<div class="modal fade" id="advanceSaleModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="advanceSaleModalLabel">添加</h4>
            </div>
            <div class="modal-body">
                <div class="add-banner-btn">
                    <input type="file" accept="image/*" class="file-input" id="advanceSaleBannerInput">
                    <input type="hidden" id="advanceSaleBannerImgUrl">
                    <input type="hidden" id="advanceSaleId">
                    <div class="select-img themeBgColor">选择广告图</div>
                </div>
                <div class="themeColor">(图片尺寸建议)</div>
                <div class="preview-img" id="advanceSaleBannerImage">
                    <div>图片预览</div>
                </div>
                <div class="add-banner-btn" style="margin-top: 30px">
                    <input type="file" accept="image/*" class="file-input" id="advanceSaleContentInput">
                    <input type="hidden" id="advanceSaleContentImgUrl">
                    <input type="hidden" id="advanceSaleUptype">
                    <div class="select-img themeBgColor">选择详情图</div>
                </div>
                <div class="themeColor"></div>
                <div class="preview-advance-sale-content-img" id="advanceSaleContentImage">
                    <div>图片预览</div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadAdvanceSaleImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- second hand class modal-->
<div class="modal fade" id="secondHandClassModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="secondHandClassModalLabel">添加新类别</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label for="className">类别名称：</label>
                    <input type="text" class="form-control" id="secondHandClassName" placeholder="请输入类别名称">
                </div>
                <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" id="secondHandClassInput">
                    <input type="hidden" id="secondHandClassImgUrl">
                    <input type="hidden" id="secondHandClassItemId">
                    <div class="select-img themeBgColor">选择图标</div>
                </div>
                <div class="preview-class-img" id="secondHandClassImage">
                    <div>图片预览</div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadsecondHandClassImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- check second hand product -->
<div class="modal fade" id="secondHandProductModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="secondHandProductModalLabel">商品信息</h4>
            </div>
            <div class="modal-body" id="product-info">
                <div class="margin15">商品名称：法撒旦发射点发</div>
                <div class="margin15">商品价格：123（元）</div>
                <div class="margin15">卖家电话：12345678996</div>
                <div class="margin15">
                    <div>商品缩略图:</div>
                    <div class="img-box">
                        <img src="http://oss.freei.cc/5c90af22cde4f.png" alt="">
                    </div>
                </div>
                <div class="margin15">
                    <div>商品详情图:</div>
                    <div class="img-box">
                        <img src="http://oss.freei.cc/5c90af22cde4f.png" alt="">
                        <img src="http://oss.freei.cc/5c90af22cde4f.png" alt="">
                        <img src="http://oss.freei.cc/5c90af22cde4f.png" alt="">
                        <img src="http://oss.freei.cc/5c90af22cde4f.png" alt="">
                        <img src="http://oss.freei.cc/5c90af22cde4f.png" alt="">
                    </div>
                </div>
                <div class="margin15">
                    <div class="margin15" style="margin-top: 0">商品描述：</div>
                    <div>大深刻搭街坊卡拉九十点附近阿克苏角度看斯达克放假啊是快乐的解放了喀什决定是否卢卡斯肯德基风口浪尖ask加快建设阿三打开房间啊送当</div>
                </div>
            </div>
            <div class="modal-footer" id="checkout">
                <!--<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>-->
                <!--<button type="button" class="btn themeBgColor" id="uploadsecondHandClassImg" data-type="">确认</button>-->
            </div>
        </div>
    </div>
</div>
<!-- kitchen add modal-->
<div class="modal fade" id="kitchenModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="kitchenModalLabel">添加新商户</h4>
            </div>
            <div class="modal-body" >
                <div class="form-group" id="kitchenNameBox">
                    <label for="businessName" >厨房名称：</label>
                    <input type="text" class="form-control"  placeholder="请输入厨房名称" id="kitchenName">
                    <input type="hidden" id="kitchenType">
                    <input type="hidden" id="kitchenStatus">
                </div>

                <div class="form-group" id="kitchenUnameBox">
                    <label for="businessNum" >厨房账户：</label>
                    <input type="text" class="form-control"  placeholder="设置厨房账户号码" id="kitchenUserName">
                </div>
                <div class="form-group" id="kitchenPwdBox">
                    <label for="businessPwd">厨房密码：</label>
                    <input type="text" class="form-control"  placeholder="设置厨房登录密码" id="kitchenPwd">
                    <input type="hidden" id="kitchenId">
                </div>
                <div class="form-group" id="kitchenPhoneBox">
                    <label for="kitchenPhone">联系电话：</label>
                    <input type="text" class="form-control"  placeholder="设置厨房联系电话" id="kitchenPhone">
                </div>
                <div class="form-group" id="kitchenAlaLevBox">
                    <label for="kitchenAlaLev">集团抽成：</label>
                    <input type="text" class="form-control"  placeholder="设置集团抽成(单位%)" id="kitchenAlaLev">
                </div>
                <div class="form-group" id="kitchenShiLevBox">
                    <label for="businessPwd">市代抽成：</label>
                    <input type="text" class="form-control"  placeholder="设置市代抽成(单位%)" id="kitchenShiLev">
                </div>
                <div class="form-group" id="kitchenQuLevBox">
                    <label for="businessPwd">区代抽成：</label>
                    <input type="text" class="form-control"  placeholder="设置区代抽成(单位%)" id="kitchenQuLev">
                </div>


            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="addkitchenBtn">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- health service banner modal-->
<div class="modal fade" id="healthBannerModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="healthBannerModalLabel">添加</h4>
            </div>
            <div class="modal-body">
                <div class="add-banner-btn">
                    <input type="file" accept="image/*" class="file-input" id="healthBannerInput">
                    <input type="hidden" id="healthBannerImgUrl">
                    <input type="hidden" id="healthBannerId">
                    <div class="select-img themeBgColor">选择图片</div>
                </div>
                <div class="themeColor">(图片尺寸建议640px * 170px)</div>

                <div class="preview-img" id="healthBannerImage">
                    <div>图片预览</div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <input type="hidden" id="health-banner-type">
                <button type="button" class="btn themeBgColor" id="uploadHealthBannerImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- health service class modal -->
<div class="modal fade" id="healthClassModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="healthClassModalLabel">添加新类别</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label for="className">类别名称：</label>
                    <input type="text" class="form-control" id="healthClassName" placeholder="请输入类别名称">
                </div>
                <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" id="healthClassInput">
                    <input type="hidden" id="healthClassImgUrl">
                    <input type="hidden" id="healthClassItemId">
                    <div class="select-img themeBgColor">选择图标</div>
                </div>
                <div class="preview-class-img" id="healthClassImage">
                    <div>图片预览</div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <input type="hidden" id="healthClassType">
                <button type="button" class="btn themeBgColor" id="uploadHealthClassImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- health service add business modal-->
<div class="modal fade" id="healthBusinessModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="healthBusinessModalLabel">添加健康服务新商户</h4>
            </div>
            <div class="modal-body" style="height:500px;overflow-y:scroll;">
                <div class="form-group">
                    <label for="className">商家名称：</label>
                    <input type="text" class="form-control"  placeholder="请输入商家名称" id="healthShopName">
                </div>
                <div class="form-group">
                    <label for="className">商家地址：</label>
                    <input type="text" class="form-control"  placeholder="请输入商家地址" id="healthShopAddress">
                    <input type="hidden" id="health-shop-address-lat">
                    <input type="hidden" id="health-shop-address-lng">
                </div>
                <div class="address-list">

                </div>
                <div class="form-group">
                    <label for="className">商家电话：</label>
                    <input type="number" class="form-control"  placeholder="请输入商家电话" id="healthShopPhone">
                </div>
                <div>
                    <label >选择分类：</label>
                    <div class="add-class-box" id="add-health-shop-class-box">
                        <!--<div class="checkbox">-->
                        <!--<label>-->
                        <!--<input type="checkbox"> Check me out-->
                        <!--</label>-->
                        <!--</div>-->

                    </div>
                </div>
                <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" id="health-shop-img-select">
                    <input type="hidden" id="health-shop-img-url">
                    <div class="select-img themeBgColor">选择商家缩略图</div>
                </div>
                <div class="preview-class-img" id="health-shop-img-show">
                    <div>图片预览</div>
                </div>
                <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" multiple="multiple" id="health-content-img-select">
                    <input type="hidden" id="health-upType">
                    <input type="hidden" id="health-businessId">
                    <div class="select-img themeBgColor">选择商家展示图集</div>
                    <div class="btn themeBgColor upload-content-img" id="upload-health-content-img">
                        图片上传
                    </div>
                </div>
                <div class="preview-content-img" id="health-content-img-show">
                    <!--<div class="yulan-desc">图片预览</div>-->
                    <div class="old"></div>
                    <div class="new"></div>
                </div>

                <div class="form-group" style="margin-top: 20px">
                    <label for="className">商家描述：</label>
                    <textarea  class="form-control textarea-style"  placeholder="请输入商家介绍与描述" id="health-shopDesc"></textarea>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="addHealthShop" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>



<!-- 全局js -->
<script src="../../js/jquery.min.js?v=2.1.4"></script>
<script src="../../js/bootstrap.min.js?v=3.3.6"></script>
<script src="../../js/plugins/jeditable/jquery.jeditable.js"></script>

<!--paging-->
<script src="../../js/my-js/paging.js"></script>
<!-- 自定义js -->
<script src="../../js/my-js/global.js"></script>
<script src="../../js/view/community/community-service.js"></script>
</body>

</html>
